<table class="table table-striped">
  <tr><th>SiteID</th><th>域名</th><th>邮箱</th><th>状态</th><th>操作</th></tr>

<?php foreach ($dt as $v): ?>
  	<tr>
  	<td><?php echo $v->siteid; ?></td>
  	<td><?php echo $v->sitename; ?></td>
  	<td><?php echo $v->smtpuser; ?></td>
  	<td><?php echo $v->status == 1 ? '<span style="color:green;">激活</span>' : '<span style="color:red;">停用</span>'; ?></td>
  	<td>编辑 | <a href="/sdksystem/currency/<?php echo $v->siteid; ?>">汇率管理</a></td></tr>
<?php endforeach ?>
</table>
<?php echo $page;?>